package cn.com.joyplus.wechat.model;


import java.io.Serializable;
import java.util.UUID;

/**
 * Created by 王灏川(wangrs@qq.com) on 2017/8/11 0011.
 */
public class JsdkConfig implements Serializable {


    private static final long serialVersionUID = 4975843462904506949L;


    private Boolean debug = false;
    private String appId;
    private Long timestamp = System.currentTimeMillis() / 1000;
    private String nonceStr = UUID.randomUUID().toString();
    private String signature;

    public JsdkConfig(String appId, Boolean debug) {
        this.appId = appId;
        this.debug = debug;
    }

    public Long getTimestamp() {
        return timestamp;
    }


    public String getNonceStr() {
        return nonceStr;
    }


    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public Boolean getDebug() {
        return debug;
    }

    public String getAppId() {
        return appId;
    }
}
